package com.fei.BYSJ.dao;

import com.fei.BYSJ.entity.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userid);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> findAll(Map<String,Object> params);

    List<User> findByLogin(String userAccount, String userPassword);

    User findByAccount(String userAcccount);

    int mnagerUpdateByPrimaryKey(User user);
}